package HandshakeJoin;

import java.util.List;
import org.apache.s4.base.Event;
import org.apache.s4.base.KeyFinder;
import com.google.common.collect.ImmutableList;

public class SnapshotKeyFinder implements KeyFinder<Snapshot>
{
    @Override
    public List<String> get(final Snapshot snapshot) {
        return ImmutableList.of(snapshot.getJoinId());
    }
}